from rest_framework import viewsets
from rest_framework import filters
from django_filters.rest_framework import DjangoFilterBackend
from .filters import *
from .serializers import *
from utils.pagination import LargeResultsSetPagination


class SaleVisitingViewSet(viewsets.ModelViewSet):
    serializer_class = SaleVisitingSerializer

    queryset = SaleVisiting.objects.all()
    pagination_class = LargeResultsSetPagination